Procedure for upgrading EKS using Terraform
Explaining the EKS version upgrade in the codebase from node drain to application!
This article introduces the procedure for upgrading EKS using Terraform. EKS stands for "Amazon Elastic Kubernetes Service," which is a managed service that allows you to use Kubernetes on AWS. The overall flow of the upgrade consists of three steps: draining the nodes, modifying the tfvars file, and applying the tfvars file. During the node draining process, the nodes on EKS are stopped, and the Pods are evicted and terminated. If the Pods are not evicted and terminated before the upgrade, it may lead to a PodEvictionFailure, causing the upgrade to fail. The upgrade is achieved by changing the value of kubernetes_version in the tfvars file to the next higher version and applying it. *For more detailed information, please refer to the related links. Feel free to contact us for further inquiries.*